package com.heima.model.article.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 文章配置表(ApArticleConfig)表实体类
 *
 * @author makejava
 * @since 2023-06-15 21:21:03
 */
@Data
@SuppressWarnings("serial")
@TableName("ap_article_config")
public class ApArticleConfig  {
    //文章id
    private Long articleId;
    //是否上架
    private Integer enable;
    //是否删除
    private Integer isDelete;
    //是否允许评论
    private Integer isComment;
    //是否允许转发
    private Integer isForward;
    //创建时间
    @TableField(value = "CREATED_TIME",fill = FieldFill.INSERT)
    private Date createdTime;
    //更新时间
    @TableField(value = "UPDATED_TIME",fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;

}

